//
//  DynamicViewModel.h
//  DynamicTableViewTest
//
//  Created by Tiant on 2020/7/14.
//  Copyright © 2020 YYL. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface DynamicViewRowModel : NSObject

@property (nonatomic, assign) NSInteger type;

@property (nonatomic, copy) NSString *cellClassName;

@end

@interface DynamicViewSectionModel : NSObject

@property (nonatomic, strong) NSMutableArray<DynamicViewRowModel *> *rows;

@property (nonatomic, assign) BOOL isHasSectionHeader;

@property (nonatomic, strong) UIView *sectionHeaderView;

@property (nonatomic, assign) CGFloat sectionHeaderViewHeight;

@property (nonatomic, assign) BOOL isHasSectionFooter;

@property (nonatomic, strong) UIView *sectionFooterView;

@property (nonatomic, assign) CGFloat sectionFooterViewHeight;

@end

@interface DynamicViewModel : NSObject

@property (nonatomic, strong) NSMutableArray<DynamicViewSectionModel *> *sections;

@property (nonatomic, assign) NSInteger type;

@end

NS_ASSUME_NONNULL_END
